package com.cvs.services;

import java.util.List;

import com.cvs.model.DaysEntity;
import com.cvs.model.EventsEntity;
import com.cvs.model.MandatoryEntity;
import com.cvs.model.UserEntity;

public interface ChmService {
	
	public void createMandatoryRecord(MandatoryEntity mandatory);
	public void createEventRecord(EventsEntity event);
	public void createUserRecord(String username,String password, String name);
	public void storeUser(UserEntity user);
	public void createHolidayRecord(DaysEntity day);
	public void updateAccepted(Long id, String accepted);
	public void updateUserGroup(String username, String group);
	public void updateUserAllocation(String username, int allocation);
	public UserEntity searchDatabaseForUsername(String username);
	List<DaysEntity> getHols();
	List<DaysEntity> getUnapprovedHols();
	List<DaysEntity> getApprovedHols();
	List<UserEntity> getUsers();
	List<MandatoryEntity> getMandatoryDays();
	List<EventsEntity> getEvents();
 }
